<%@ Page Title="CreditCardInformation Details" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" AutoEventWireup="true" 
	Inherits="System.Web.Mvc.ViewPage<GoldenBicycleCompany.Core.CreditCardInformation>" %>
<%@ Import Namespace="GoldenBicycleCompany.Web.Controllers" %>

<asp:Content ContentPlaceHolderID="MainContentPlaceHolder" runat="server">

    <h1>CreditCardInformation Details</h1>

    <ul>
		<li>
			<label for="CreditCardInformation_Customer">Customer:</label>
            <span id="CreditCardInformation_Customer"><%= Server.HtmlEncode(ViewData.Model.Customer.ToString()) %></span>
		</li>
		<li>
			<label for="CreditCardInformation_CreditCardNumber">CreditCardNumber:</label>
            <span id="CreditCardInformation_CreditCardNumber"><%= Server.HtmlEncode(ViewData.Model.CreditCardNumber.ToString()) %></span>
		</li>
		<li>
			<label for="CreditCardInformation_ExpirationYear">ExpirationYear:</label>
            <span id="CreditCardInformation_ExpirationYear"><%= Server.HtmlEncode(ViewData.Model.ExpirationYear.ToString()) %></span>
		</li>
		<li>
			<label for="CreditCardInformation_ExpirationMonth">ExpirationMonth:</label>
            <span id="CreditCardInformation_ExpirationMonth"><%= Server.HtmlEncode(ViewData.Model.ExpirationMonth.ToString()) %></span>
		</li>
		<li>
			<label for="CreditCardInformation_CVV">CVV:</label>
            <span id="CreditCardInformation_CVV"><%= Server.HtmlEncode(ViewData.Model.CVV.ToString()) %></span>
		</li>
	    <li class="buttons">
            <%= Html.Button("btnBack", "Back", HtmlButtonType.Button, 
                "window.location.href = '" + Html.BuildUrlFromExpressionForAreas<CreditCardInformationsController>(c => c.Index()) + "';") %>
        </li>
	</ul>

</asp:Content>
